package com.aaa.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {
    private Integer menuId;
    private String menuName;
    private Integer parentId;
    private Integer orderNum;
    private String url;
    private String menuType;
    private String visible;
    private String perms;
    private String icon;
    private String createBy;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private String remark;
}
